package com.sopaths.crawler;

import org.jsoup.nodes.Document;

import com.sopaths.crawler.tasks.CrawlerTask;
import com.sopaths.crawler.tasks.RecruitmentCrawlerTask;


public abstract class RecruitmentCrawler extends AbstractCrawler {

	@Override
	protected String assembleURL(CrawlerTask<?> task) {
		RecruitmentCrawlerTask innerTask = (RecruitmentCrawlerTask) task;
		return assembleRecruitmentUrl(innerTask);
	}

	protected String assembleRecruitmentUrl(RecruitmentCrawlerTask task) {
		return "";
	}

	@Override
	protected void assembleTaskResult(CrawlerTask<?> task, Document document) {
		RecruitmentCrawlerTask innerTask = (RecruitmentCrawlerTask) task;
		assembleRecruitmentTaskResult(innerTask, document);
	}

	protected void assembleRecruitmentTaskResult(RecruitmentCrawlerTask task, Document document) {

	}
}
